package com.csp.mingyue.system.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 路由显示信息
 *
 * @author njy
 */
@Data
@Schema(description = "路由显示信息")
@NoArgsConstructor
@AllArgsConstructor
public class MetaVo {

	@Schema(description = "菜单标题")
	private String title;

	@Schema(description = "菜单外链链接 开启外链条件：1、isLink: true；2、链接地址不为空（meta.isLink）；3、isIframe: false")
	private String isLink;

	@Schema(description = "菜单是否隐藏（菜单不显示在界面，但可以进行跳转）")
	private Boolean isHide;

	@Schema(description = "菜单是否缓存")
	private Boolean isKeepAlive;

	@Schema(description = "菜单是否固定（固定在 tagsView 中，不可进行关闭），右键菜单无 `关闭` 项")
	private Boolean isAffix;

	@Schema(description = "是否内嵌 开启条件：1、isIframe: true；2、链接地址不为空（meta.isLink）")
	private Boolean isIframe;

	@Schema(description = "菜单图标")
	private String icon;

}
